package com.five.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("gxa_address")
public class Address implements Serializable {

    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 详细地址
     */
    private String address;

    /**
     * 收货人
     */
    private String receiver;
    /**
     * 收货人手机号
     */
    private String phone;
    /**
     * 用户ID
     */
    private Long userId;
}
